package com.example.archivemanagement.audit;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class AuditEvent {
    private String entityType;
    private String entityId;
    private String action; // 登陆、上传、更新、下载
    private String username;
    private LocalDateTime timestamp;
    private String data; // 可选，存储变更详情

}
